import { axiosInstance } from '@/http';
import { IUserListRequest, IUserListResponse } from './type';
import { systemUser } from '@/model/api/system';

/**
 * @description: 用户列表查询
 * @param {IUserListRequest} 参数
 * @returns {Promise}
 */
export const apiUserPageList = (
  params: IUserListRequest
): Promise<IUserListResponse> =>
  axiosInstance.post(systemUser.pageList, params);
